package com.cainaer.orders.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cainaer.orders.domain.OrderItem;

import java.util.List;

/**
 * <p>
 * 订单商品信息表 Mapper 接口
 * </p>
 *
 * @author Tina
 * @since 2020-09-11
 */
public interface OrderItemMapper extends BaseMapper<OrderItem> {

    public OrderItem queryOrderItem();

    /**
     * 通过商铺ID查询这个商铺的订单商铺信息的商品ID
     *
     * @param shopId 商铺ID
     * @return
     */
    public List<Long> selectOrderItemProductIdListsByShopId(Long shopId);

}
